package io.mya.modules.sys.controller;

import io.mya.common.respentity.ResponseBuilder;
import io.mya.modules.sys.vo.CandyUser;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;
import java.util.Map;

@Controller
public class Index {
//	/**
//	 * 跳转index.html页面
//	 * @return
//	 */
//	@RequestMapping("/index")
//	public String indexHtml(HttpServletRequest request, HttpServletResponse response) {
//
//		CandyUser candyUser = new CandyUser();
//		candyUser.setId(1111);
//		candyUser.setUsername("测试");
//		request.setAttribute("user",candyUser);
//
//		request.setAttribute("test","test");
//
//
//	  return "app/child_hmtl/Token_My.html";
////		return "modules/candy/invitefriends";
////		return "modules/candy/candybox";
////				return "modules/candy/about";
//	}
//	@RequestMapping("/admin")
//	public String admin() {
//		return "modules/pay/admin";
//	}
	/**
	 * 跳转index.html页面
	 * @return
	 */
	@RequestMapping("/index")
	public String indexHtml() {
	  return "modules/pay/rpmSynchroNotify";
	}
	@RequestMapping("/admin")
	public String admin() {
		return "modules/pay/admin";
	}


}
